package com.ruoyi.dataMain.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.dataMain.domain.DataConsumption;
import com.ruoyi.dataMain.domain.bo.DataConsumptionBo;
import com.ruoyi.dataMain.domain.vo.DataConsumptionVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 消耗总表Mapper接口
 *
 * @author linziheng
 * @date 2024-01-03
 */
public interface DataConsumptionMapper extends BaseMapperPlus<DataConsumptionMapper, DataConsumption, DataConsumptionVo> {


    Page<DataConsumptionVo> selectPageDataConsumptionList(@Param("page") Page<DataConsumption> page, @Param("bo")DataConsumptionBo bo);
    Map selectPageDataConsumptionTotal(@Param("bo")DataConsumptionBo bo);

    List<DataConsumptionVo> selectConsumptionList(@Param("bo")DataConsumptionBo bo);
}
